package tt.com.common.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Chen  xiaolin
 * @date 2022/9/1 10点27分 2022/9/2 15点42
 * @description 交费的状态
 */
@AllArgsConstructor
@Getter
public enum TollEnum implements IEnum<Integer> {

    UNPAID(1,"未缴费"),
    PAYMENT_FAILED(2,"缴费失败"),
    PAYMENT_WAS_SUCCESSFUL(3,"缴费成功"),
    PAYMENT_NEED_SUPPLEMENT(4,"需要补费"),
    PAYMENT_REFUND(5,"已退费");


    private int value;
    private String desc;

    @Override
    public Integer getValue(){
        return value;
    }
}
